package com.qd.common.panda.domain.entity.api;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 返回费用信息
 *
 * @author sjk
 */
@Data
@Accessors(chain = true)
@ToString
public class UnpaidAmountDTO {
    /**
     * 停车费
     */
    private BigDecimal parkFee = new BigDecimal(0);
    /**
     * 充电费
     */
    private BigDecimal chargeFee = new BigDecimal(0);
    /**
     * 总金额
     */
    private BigDecimal allFee = new BigDecimal(0);

    public void freeData() {
        this.parkFee = null;
        this.chargeFee = null;
        this.allFee = null;
    }
}